import axios from 'axios'

export const getListApi = () => {
  return axios.post('/bill/list', { type: 0 })
}

export const addApi = (data) => {
  return axios.post('/bill/add', data)
}

export const updateApi = (data) => {
  return axios.post('/bill/update', data)
}

export const deleteApi = (params) => {
  return axios.delete('/bill/update', params)
}
